﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Travel.API.Models
{
    public class TouristRoute
    {

        [Key]
        public Guid ID { get; set; }
        /// <summary>
        /// 路线名
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 评分
        /// </summary>
        public double? Rating { get; set; }
        /// <summary>
        /// 折扣
        /// </summary>
        public decimal Discount { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 出发时间
        /// </summary>
        public DateTime? DepartureTime { get; set; }

        /// <summary>
        /// 买点说明
        /// </summary>
        public string Feature { get; set; }
        /// <summary>
        /// 费用说明
        /// </summary>
        public string Fees { get; set; }

        public string Notes { get; set; }


        public ICollection<TouristRoutePhoto> TouristRoutePhoto { get; set; }


    }
}
